package com.xydzxt.www.service;

import com.xydzxt.www.dao.ExamRoomDao;
import com.xydzxt.www.dao.UserDao;
import com.xydzxt.www.model.ExamRoom;
import com.xydzxt.www.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ExamRoomService {
    @Autowired
    ExamRoomDao examRoomDao;

    public List<ExamRoom> selectAllExamRoom(ExamRoom examRoom){
        return examRoomDao.selectAllExamRoom(examRoom);
    }

    public ExamRoom selectById(int id){
        return examRoomDao.selectById(id);
    }
}

